﻿<UserControl x:Class="AutoLoL.Controls.LoadingControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Viewbox>
        <Canvas Width="50.1273" Height="50.1273">
            <Rectangle Width="5.5" Height="13.1146" Canvas.Left="22" Canvas.Top="3" Stretch="Fill" Fill="#FF000000"/>
            <Rectangle Width="5.5" Height="13.1146" Canvas.Left="22" Canvas.Top="35" Stretch="Fill" Fill="#67000000"/>
            <Rectangle Width="13.1146" Height="5.5" Canvas.Left="35" Canvas.Top="22" Stretch="Fill" Fill="#B3000000"/>
            <Rectangle Width="13.1146" Height="5.5" Canvas.Left="3" Canvas.Top="22" Stretch="Fill" Fill="#1B000000"/>
            <Path Width="13.1625" Height="13.1625" Canvas.Left="30" Canvas.Top="7" Stretch="Fill" Fill="#D9000000" Data="F1 M 27.2898,13.9357L 31.1788,17.8248L 40.4523,8.55142L 36.5632,4.66233L 27.2898,13.9357 Z "/>
            <Path Width="13.1625" Height="13.1625" Canvas.Left="7" Canvas.Top="30" Stretch="Fill" Fill="#42000000" Data="F1 M 4.66235,36.5632L 8.55143,40.4523L 17.8248,31.1788L 13.9358,27.2898L 4.66235,36.5632 Z "/>
            <Path Width="13.1625" Height="13.1625" Canvas.Left="30" Canvas.Top="30" Stretch="Fill" Fill="#8D000000" Data="F1 M 31.1789,27.2897L 27.2898,31.1788L 36.5632,40.4522L 40.4523,36.5632L 31.1789,27.2897 Z "/>
            <Path Width="13.1625" Height="13.1625" Canvas.Left="7" Canvas.Top="7" Stretch="Fill" Fill="#11000000" Data="F1 M 8.55143,4.66233L 4.66234,8.55142L 13.9358,17.8248L 17.8248,13.9357L 8.55143,4.66233 Z "/>
            <Canvas.RenderTransform>
                <RotateTransform x:Name="MyRotateTransform" Angle="0" CenterX="25.06" CenterY="25.06" />
            </Canvas.RenderTransform>
            <Canvas.Triggers>
                <EventTrigger RoutedEvent="Canvas.Loaded">
                    <BeginStoryboard>
                        <Storyboard>
                            <DoubleAnimation Storyboard.TargetName="MyRotateTransform" Storyboard.TargetProperty="(RotateTransform.Angle)" From="0" To="360" Duration="0:0:2" RepeatBehavior="Forever" />
                        </Storyboard>
                    </BeginStoryboard>
                </EventTrigger>
            </Canvas.Triggers>
        </Canvas>
    </Viewbox>
</UserControl>
